﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ERPStudio;
using System.Data.SqlClient;

namespace ResUma
{
    public partial class DocumenteScanateTipFrm : FrmRezumat
    {
        public DocumenteScanateTipFrm(ModuleClass mc):base(mc)
        {
            InitializeComponent();
            workConnString = mc.workConnectionString;
            InitializeComponent();
        }

       

        private void DocumenteScanateTipFrm_Load(object sender, EventArgs e)
        {
            SqlConnection con = DeschideConexiune(workConnString);
            this.eDocumentTipTableAdapter.Connection = con;
            this.eDocumentTipTableAdapter.Fill(this.eSRPDataSet.eDocumentTip);
            InchideConexiune(con);

            this.listBndSourceMain.Add(eDocumentTipBindingSource);
            listTableAdaptor.Add(this.eDocumentTipTableAdapter.Adapter);

            

        }


    }
}
